load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "loader",
    srcs = [
        "doc.go",
        "loader.go",
        "util.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/golang.org/x/tools/go/loader",
    importpath = "golang.org/x/tools/go/loader",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/golang.org/x/tools/go/ast/astutil",
        "//vendor/golang.org/x/tools/go/buildutil",
        "//vendor/golang.org/x/tools/go/internal/cgo",
    ],
)
